//
//  TYZCustomTabBarController.h
//  TYZKit
//
//  Created by TangBin on 2018/8/23.
//  Copyright © 2018年 TangBin. All rights reserved.
//

#import <UIKit/UIKit.h>

@class TYZNavInfo;
@class TYZNavRootVCInfo;

@interface TYZCustomTabBarController : UITabBarController

@property (nonatomic, assign) CGFloat appNavBarHeight;

@property (nonatomic, assign) CGFloat appTabBarHeight;


/**
 *  初始化
 *
 *  @param showMiddleBtn 是否显示中间的凸出的按钮
 *
 *  @return id
 */
- (instancetype)initWithShowMiddleBtn:(BOOL)showMiddleBtn midNorImgName:(NSString *)midNorImgName midSelImgName:(NSString *)midSelImgName;// NS_DESIGNATED_INITIALIZER


- (instancetype)init UNAVAILABLE_ATTRIBUTE;

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil UNAVAILABLE_ATTRIBUTE;


/**
 设置navbar的相关信息

 @param navInfo navInfo description
 */
- (void)setupNavCommonInfo:(TYZNavInfo *)navInfo;

/**
 设置TabBarItemtestAttributes的颜色
 
 @param norTitleColor nor的文字颜色
 @param selTitleColor sel的文字颜色
 @param titleFont 文字的大小
 */
- (void)setupTabBarItemTextAttributes:(UIColor *)norTitleColor selTitleColor:(UIColor *)selTitleColor titleFont:(UIFont *)titleFont;

/**
 初始化子视图控制器
 
 @param subControllers 子视图控制器
 */
- (void)setupChildViewController:(NSArray<TYZNavRootVCInfo *> *)subControllers navInfo:(TYZNavInfo *)navInfo;


@end
